package com.leixin.demo.service;

import com.leixin.demo.entity.RedisEntity;
import com.leixin.demo.entity.UserEntity;

import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.List;

public interface UserService {
    UserEntity queryUserById(String id);

    void addUser(UserEntity userEntity);

    List<String> get(File file, List<String> list);

    String saveComment(String comment, HttpServletRequest request) throws IOException;

    List getComment();
}
